package br.ufg.inf.espweb.sgca.service;

import br.ufg.inf.espweb.sgca.model.Entidade;
import java.util.List;

/**
 *
 * @author diCastro
 */
public interface GenericService<T extends Entidade>{
    public void salvar(T entity);
    
    public void atualizar(T entity);
    
    public void remover(Long id);
    
    public T obterPorId(Long id);
    
    public List<T> listar();
}
